package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.Bookskind;
import org.hxyjs.entity.BookskindExample;

public interface BookskindMapper {
    long countByExample(BookskindExample example);

    int deleteByExample(BookskindExample example);

    int deleteByPrimaryKey(String bkno);

    int insert(Bookskind record);

    String getMaxBkno();

    List<Bookskind> getBookskindByPage(Map<String, Object> map);

    List<Bookskind> selectBookskindWithbooks(BookskindExample example);

    int insertSelective(Bookskind record);

    List<Bookskind> selectByExample(BookskindExample example);

    Bookskind selectByPrimaryKey(String bkno);

    int updateByExampleSelective(@Param("record") Bookskind record, @Param("example") BookskindExample example);

    int updateByExample(@Param("record") Bookskind record, @Param("example") BookskindExample example);

    int updateByPrimaryKeySelective(Bookskind record);

    int updateByPrimaryKey(Bookskind record);
}